package com.inspur.ourhis_afterend.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("DRUGS")
public class Drugs {

    @TableId(value = "drugsid", type = IdType.AUTO)
    private String drugsid;
    private String name;
    private Integer price;
    private Integer purchaseprice;
    private Integer num;
    private Date introducedate;
    private Date productdate;
    private Date qualityperiod;
    private String supplyunit;
    private String productunit;

}